#ifndef __PVMLIB_H__
#define __PVMLIB_H__

#include "pvm/pvmapi.h"
#include "pvm/pvmhelperapi.h"

PVMAPI pvm_bool PVMCALL PVMVoiceBeginBatchParams(PVMDEVICE device);
PVMAPI void PVMCALL PVMVoiceEndBatchParams(PVMDEVICE device);

PVMAPI pvm_bool PVMCALL PVMVoiceSetPanningDirect(PVMDEVICE device, pvm_uint32 chanelNum, pvm_int32 value);
PVMAPI pvm_bool PVMCALL PVMVoiceSetVolumeDirect(PVMDEVICE device, pvm_uint32 chanelNum, pvm_int32 value);//0 - off, 256 - max volume
PVMAPI pvm_bool PVMCALL PVMVoiceSetRateDirect(PVMDEVICE device, pvm_uint32 chanelNum, pvm_int32 value);//
PVMAPI pvm_bool PVMCALL PVMVoiceSetPanningVolumeRateDirect(PVMDEVICE device, pvm_uint32 chanelNum, pvm_int32 panning, pvm_int32 volume, pvm_int32 rate);

#endif
